package com.shengqin.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shengqin.common.pojo.CommonPage;
import com.shengqin.entity.FreeTestApply;
import com.shengqin.entity.PlanFreeTest;

import java.util.List;
import java.util.Set;

public interface IPlanFreeTestService extends IService<PlanFreeTest> {
    void importBatchFreeTest(List<PlanFreeTest> cachedDataList, Integer planId);

    List<PlanFreeTest> queryByPlanIdAndStudyCodes(Integer planId, Set<String> studyCodes);

    Page<PlanFreeTest> queryPage(CommonPage<PlanFreeTest> commonPage);

    Boolean refresh(PlanFreeTest params);

    List<PlanFreeTest> listByPlanIdAndStudyCode(Integer planId, String studyCode);

    void deleteByPlanIdAndStudyCode(Integer planId, String studyCode);
}
